export default [
  {
    path: '',
    meta: {
      title: '欢迎界面'
    },

    component: () => import('../../views/home/Welcome.vue')
  },
  {
    path: 'teacher',
    meta: {
      title: '教师管理'
    },

    component: () => import('../../views/user/Teacher.vue')
  },
  {
    path: 'student',
    name: 'student',
    meta: {
      title: '学生管理'
    },

    component: () => import('../../views/user/Student.vue')
  },
  {
    path: 'addteacher',
    name: 'student',
    meta: {
      title: '添加教师'
    },

    component: () => import('../../views/user/Add.vue')
  },
  {
    path: 'detail/:id',
    name: 'detail',
    props: true,
    meta: {
      title: '添加教师'
    },

    component: () => import('../../views/user/Detail.vue')
  }
]
